package com.erp.statistics.order.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.erp.statistics.order.domain.bo.ErpOrderInfoStatisticsBo;
import com.erp.statistics.order.domain.vo.ErpOrderInfoStatisticsVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.statistics.api.domain.ErpOrderInfoStatistics;
import org.apache.ibatis.annotations.Param;

/**
 * 订单信息统计Mapper接口
 *
 * @author erp
 * @date 2023-07-19
 */
public interface ErpOrderInfoStatisticsMapper extends BaseMapperPlus<ErpOrderInfoStatisticsMapper, ErpOrderInfoStatistics, ErpOrderInfoStatisticsVo> {

    /**
     * 条件查询
     */
    Page<ErpOrderInfoStatisticsVo> findAllStatics(@Param("page") Page<ErpOrderInfoStatistics> page, @Param("bo") ErpOrderInfoStatisticsBo bo);

//    String getSelfOperationEvaluation(@Param("dto") ErpSellerStoreSelfEvaluationDto dto);

    String getEvaluationProfit(@Param("storeId") Long storeId);
}
